@import '../styles/common/baseColors.less';

@select-remove-hover-color: @hy-clr-primary-color;
@select-dropdown-menu-item-selected-color: @hy-clr-primary-color;
@select-dropdown-menu-item-active-color: @hy-clr-primary-color;
@select-disabled-color: @color12;
:global {
  .hy-select.ant-select {
    .ant-select-selection--multiple
      .ant-select-selection__choice__remove:hover {
      color: @select-remove-hover-color;
    }
    &.ant-select-disabled > .ant-select-selection {
      background-color: @select-disabled-color;
    }
  }
  .hy-select-dropdown.ant-select-dropdown {
    .ant-select-dropdown-menu-item-selected,
    .ant-select-dropdown-menu-item-selected:hover {
      color: @select-dropdown-menu-item-selected-color;
    }
    .ant-select-dropdown-menu-item-active {
      color: @select-dropdown-menu-item-active-color;
      background-color: transparent;
      &:hover {
        background-color: transparent;
      }
    }
  }
}
